import Home from "../pages/Home/Home";
import Wite from "../pages/Wite/Wite";
import Login from "../pages/Login/Login";
import Detail from "../pages/Detail/Detail";
import Article from "../pages/Article/Article";

import {createBrowserRouter} from "react-router-dom"

const router=createBrowserRouter([
    {
        path:'/',
        element:<Home/>
    },
    {
        path:'/Wite',
        element:<Wite/>
    },
    {
        path:'/Login',
        element:<Login/>
    },
    {
        path:'/Detail',
        element:<Detail/>
    },
    {
        path:'/Article',
        element:<Article/>
    }
])

export default router

